<html>
<head>
    <meta charset="UTF-8">
    <title>BooksList</title>
</head>
<body>

{% for book in n %}
    <div>bookname:   {{book.id}} <br>
           date: {{book.date}} <br>
           stars:  {{book.n_star}} 
    </div>
{% endfor %}
</body>